# -*- coding: utf-8 -*-
# @Time    : 2024/9/22 22:50
# @Author  : Alvin
# @File    : Constants.py
# @Des     : 常量类

class BaseContent:
    # 订单类型（1:同步单:；2：延迟单;3：礼品单；4：S单）
    sync_order = 1
    delay_order = 2
    gift_order = 3
    shua_order = 4

    # 扣积分数量
    sync_order_cost_1 = 0.6
    sync_order_cost_2 = 0.65


logistics_name = "晋良物流"
logistics_code = "78210"
user_name = "优斯雅通达"
password = "ysytd123"
package_type = "纸箱"

senderName = "张先生"
senderPhone = "15162497112"
sendAddressDetail = "广东省佛山市顺德区乐从镇沙边村北围物流加工园区21-2号地B座钢结构棚4仓"

default_tel = "15162497112"


class NiMingWuLiu:
    if logistics_name == "从宇物流":
        cpName = "从宇物流"
        cpCode = "DISTRIBUTOR_31479531"
        group_id = "80933"
        company_id = "220566"
        verify_code = ""
        user_list = [
            {
                "user_name": "从宇",
                "user_id": "1261750",
                "password": "971f5205488505d16305d9ad5e85978f"
            },
            {
                "user_name": "zhangyi1",
                "user_id": "1280782",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi2",
                "user_id": "1280783",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi3",
                "user_id": "1280785",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi4",
                "user_id": "1280786",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi5",
                "user_id": "1280787",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi6",
                "user_id": "1280789",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi7",
                "user_id": "1280790",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi8",
                "user_id": "1280791",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi9",
                "user_id": "1280792",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "zhangyi10",
                "user_id": "1280793",
                "password": "349e504cc959611d3b096d086c3f9b65"
            }
        ]
    elif logistics_name == '惊云物流':
        cpName = "惊云物流"
        cpCode = "DISTRIBUTOR_31462572"
        group_id = "80817"
        company_id = "219033"
        verify_code = ""
        user_list = [
            {
                "user_name": "惊云",
                "user_id": "1258241",
                "password": "2a9029615fabcc3273bb25bff17d20a2"
            },
            {
                "user_name": "0686641",
                "user_id": "1280491",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686642",
                "user_id": "1280492",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686643",
                "user_id": "1280493",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686644",
                "user_id": "1280494",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686645",
                "user_id": "1280495",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686646",
                "user_id": "1280496",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686647",
                "user_id": "1280497",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686648",
                "user_id": "1280500",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "0686649",
                "user_id": "1280501",
                "password": "349e504cc959611d3b096d086c3f9b65"
            },
            {
                "user_name": "06866410",
                "user_id": "1280502",
                "password": "349e504cc959611d3b096d086c3f9b65"
            }
        ]
